﻿namespace DFGK_WMS.WebAPI.Tools
{
    public class AgvRequst
    {
        /// <summary>
        /// 任务单号
        /// </summary>
        public string taskCode { get; set; }

        /// <summary>
        /// 任务类型：1入库，2出库
        /// </summary>
        public string tasktype { get; set; }

        /// <summary>
        /// 领料单号出库需要，入库不需要
        /// </summary>
        public string pickingNo { get; set; }

        /// <summary>
        /// 领料单行号出库需要，入库不需要
        /// </summary>
        public string pickingLineNumber { get; set; }

        /// <summary>
        /// 捡配单出库需要，入库不需要
        /// </summary>
        public string DeliveryNo { get; set; }
        /// <summary>
        /// 捡配单行号出库需要，入库不需要
        /// </summary>
        public string DeliveryLineNumber { get; set; }

        /// <summary>
        /// 托盘数量
        /// </summary>
        public string abnormalTitle { get; set; }
        /// <summary>
        /// 托盘集合
        /// </summary>
        public List<PalletMsg> Pallet { get; set; }=new List<PalletMsg>();
    }
    public class PalletMsg
    {
        /// <summary>
        /// 托盘号
        /// </summary>
        public string palletcode { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string materialcode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string materialname { get; set; }
        /// <summary>
        /// 物料数量
        /// </summary>
        public string materialqulitity { get; set; }
    }
}
